﻿@{
    Layout = null;
}
@model System.Collections.IEnumerable
<!DOCTYPE html>

<html>
@Html.Partial("LoadPanelPartial")
<head>
    <title>DocInfoOrderDeptDetail</title>
    @if (false)
    {
        <script src="../../../../Scripts/jquery-vsdoc.js" type="text/javascript"></script>
        <script src="../../../../Scripts/ASPxScriptIntelliSense.js" type="text/javascript"></script>
    }
    <link href="@Url.Content("~/Content/Site.css", true)" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/ChkInfoOrder.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/FloatDiv.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>

    @Html.DevExpress().GetStyleSheets(

                new StyleSheet { ExtensionType = ExtensionType.GridView, Theme = DevExpressHelper.Theme }

)
    @Html.DevExpress().GetScripts(
                    new Script { ExtensionType = ExtensionType.ListBox }
    )

    <script type="text/javascript">
        $(function () {
            if ($('#hidChkLocal').val() != "") {
                $('#divContent').append($('#hidChkLocal').val());
            }
            if ($('#hidChkSuper').val() != "") {
                $('#divContent').append($('#hidChkSuper').val());
            }
        })

        function back() {
            var year = $("#hidYear").val();
            var quarter = $("#hidQuarter").val();
            if (year != null && quarter != null) {
                window.location.href = rootPath + "/Admin/DocInfoOrder?year=" + year + "&quarter=" + quarter;
            }
        }
    </script>

</head>
<body>
    @using (Html.BeginForm("", "", FormMethod.Post, new { id = "form1" }))
    {
        <span style="height: 10px">&nbsp;</span>
        
        <div id="divContent"></div>
        
        <span style="height: 30px">&nbsp;</span>
        
        <div style="text-align: center;">
            <input type="button" value="返回" id="btnBack" onclick="back()" class="btn" />
        </div>
        @Html.Hidden("hidChkLocal", ViewData["chkLocal"])
        @Html.Hidden("hidChkSuper", ViewData["chkSuper"])
        @Html.Hidden("hidYear", ViewData["year"])
        @Html.Hidden("hidQuarter", ViewData["quarter"])
    }
</body>
</html>
